from ronglian_sms_sdk import SmsSDK


def send_message(mobile,sms_code,time):
    accId = '8aaf070878d419aa017901c8dd32124a'
    accToken = '095502c8c00f40faa585474b58b42da6'
    appId = '8aaf070878d419aa017901c8de251251'

    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = '{}'.format(mobile)
    datas = (sms_code, time)
    sdk.sendMessage(tid, mobile, datas)
